export default {
  methods: {
    go(url) {
      this.$router.push(url)
    },
    goEditCourse(id){
      this.$router.push('/editCourse/' + id)
    },
    goCreateChapter(courseId){
      this.$router.push('/createChapter?course_id=' + courseId)
    },
    goEditChapter(id){
      this.$router.push('/editChapter/' + id)
    },
    goExperiment(id){
      this.$router.push('/experiment/' + id)
    },
    goEditExperiment(id) {
      this.$router.push('/edit/experiment/' + id)
    },
    goEditExperimentDesc(id) {
      this.$router.push('/edit/experiment/desc/' + id)
    },
    goJudge(id) {
      this.$router.push('/report/judge/' + id);
    },
    goExam(id) {
      this.$router.push('/exam/' + id)
    },
  }
}